<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset='utf-8'>
    <title>CRM考试</title>
    <link rel="stylesheet" type="text/css" href="/static/js/jquery-easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/js/jquery-easyui/themes/icon.css">
    <script type="text/javascript" src="/static/js/jquery-easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/views/clienttest.js"></script>
</head>
<body>
    <table id="clienttest_tab" class="easyui-datagrid">

    </table>
    <div id="clienttest_tab_tool">
            <a class="easyui-linkbutton" plain="true" iconCls="icon-add" data-cmd="addclienttest">增加</a>
            <a class="easyui-linkbutton" plain="true" iconCls="icon-remove" data-cmd="deleteclienttest">删除</a>
            <%--<a class="easyui-linkbutton" plain="true" iconCls="icon-edit" data-cmd="editclienttest">更改</a>--%>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-reload" data-cmd="reloadList">刷新</a>
            <a class="easyui-linkbutton" plain="true" iconCls="icon-download" data-cmd="downloadList">导出</a>
            <a class="easyui-linkbutton" plain="true" iconCls="icon-add" data-cmd="editGrade">添加成绩</a>
        &emsp;
        <span>关键字:</span>
        <input class="easyui-textbox" id="keyword">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-search" data-cmd="queryForList" prompt="客户名/营销人员名">查询</a>
    </div>
    <div id="clienttest_dialog" style="padding: 10px">
        <form id="clienttest_edit" method="post">
            <table>
                <input id="clienttest_id" type="hidden" name="id">
                <tr align="right">
                    <td>考试学员</td>
                    <td><input name="client.id" class="easyui-combobox" data-options="
                            url:'/client/getTestClient',
                            valueField:'id',
                            multiple:true,
                            textField:'name',
                            panelHeight:'auto',
                            "></td>
                </tr>
                <tr align="right">
                    <td>考试时间</td>
                    <td><input class="easyui-datetimebox" name="testTime"></td>
                </tr>
                <tr align="right">
                    <td>考试类型</td>
                    <td><input name="testType.id" class="easyui-combobox" data-options="
                            url:'/systemDictionary/getItem?parentId=13',
                            valueField:'id',
                            multiple:true,
                            textField:'name',
                            panelHeight:'auto',
                            "></td>
                </tr>
            </table>
        </form>
    </div>
    <div id="clienttest_grade_dialog" style="padding: 10px">
        <form id="clienttest_grade_edit" method="post">
            <table>
                <input id="client_test_id" type="hidden" name="id">
                <tr align="right">
                    <td>输入考试成绩</td>
                    <td><input class="easyui-textbox" name="testGrade"/></td>
                </tr>
                <tr align="right">
                    <td>编辑备注</td>
                    <td><input class="easyui-textbox" name="remark"  prompt="点评该客户的成绩"/></td>
                </tr>
            </table>
        </form>
    </div>
    <div id="test_grade_edit_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-ok" data-cmd="savetest">确定</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
    </div>
    <div id="clienttest_edit_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-ok" data-cmd="save">确定</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
    </div>
</body>
</html>
